var vm = new Vue({
    el:"#search",
    data:{
        inputText:'',
        arr:[],
        arrSearch:[
            '麻辣烫','米线','披萨','蛋糕','汉堡','腊八粥','烤肉拌饭','炸鸡','味多美(庆阳路店)','好饿啊']
    },
    methods:{
        add(){
            if(this.inputText){
                this.arr.push(this.inputText);
                this.inputText = "";
            }
        }
    }
})